require("../../assets/css/normalize.css");
require("../../assets/css/reset.css");
require("./ad.less");

//引入js模块
const dom = require("../../utils/dom");
console.log(dom);
//页面加载
document.addEventListener("DOMContentLoaded", function () {
	//倒计时
	let num = 5;

	setInterval(function () {
		num--;
		dom.get("#time").textContent = num;
		if (num === 0) {
			location.href = "login.html";
		}
	}, 1000);
});
